﻿using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Data;
using System.Drawing;
using System.Linq;
using System.Text;
using System.Windows.Forms;

namespace Quan_Ly_Dai_Ly
{
    public partial class ReportPhieuXH : Form
    {
        

        public ReportPhieuXH()
        {
            InitializeComponent();
        }

        private string maPX;

        public string MaPX
        {
            get { return maPX; }
            set { maPX = value; }
        }
        
        private void ReportPhieuXH_Load(object sender, EventArgs e)
        {
            crystalReportViewer1.Refresh();
            CrystalReport1 rpt = new CrystalReport1();
            rpt.SetParameterValue(0, maPX);
            crystalReportViewer1.ReportSource = rpt;
            crystalReportViewer1.Show();
        }
    }
}
